﻿
Echo Installing Mailer.dll in GAC
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe" -if bin\debug\Mailer.dll

Echo Copying files to TEMPLATE directory
xcopy /e /y 12\* "c:\program files\common files\microsoft shared\web server extensions\12\"
xcopy /e /y 12\TEMPLATE\FEATURES\Mailer\*.resx "c:\Inetpub\wwwroot\wss\VirtualDirectories\80\App_GlobalResources\"

"c:\program files\common files\microsoft shared\web server extensions\12\bin\stsadm" -o InstallFeature -name Mailer -force

REM IISRESET
cscript c:\windows\system32\iisapp.vbs /a "SharePoint - 80" /r


